package com.feng.chat.service;

import com.feng.chat.dto.Result;
import com.feng.chat.entity.TalkRecordsVote;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 聊天对话记录（投票消息表） 服务类
 * </p>
 *
 * @author dyf
 * @since 2022-05-31
 */
public interface ITalkRecordsVoteService extends IService<TalkRecordsVote> {
    //发送投票消息
    public Result messageVote(Integer uid,Integer mode,List<String>options,Integer receiver_id,String title);

    //用户投票
    public Result voteHandle(Integer uid,String options,Integer record_id);
}
